import request from '@/utils/request'

// 查询展示项
export function getSyConfig() {
  return request({
    url: '/archive/syConfig/getSyConfig',
    method: 'post'
  })
}

// 查询展示型对应中文
export function getSyConfigName() {
  return request({
    url: '/archive/syConfig/getSyConfigName',
    method: 'post'
  })
}

// 保存展示项配置
export function saveSyConfig(query) {
  return request({
    url: '/archive/syConfig/saveSyConfig',
    method: 'post',
    params: query
  })
}

//获取角色树
export function selectSysRoleList(query) {
  return request({
    url: 'system/role/selectSysRoleList',
    method: 'post',
    data: query
  })
}
